home *** CD-ROM | disk | FTP | other *** search
- global gautospeed
-
- on setspeed n
- case n of
- 1:
- set gautospeed to 180
- set the visible of sprite 2 to 0
- set the visible of sprite 3 to 1
- set the visible of sprite 4 to 1
- 2:
- set gautospeed to 300
- set the visible of sprite 2 to 1
- set the visible of sprite 3 to 0
- set the visible of sprite 4 to 1
- 3:
- set gautospeed to 600
- set the visible of sprite 2 to 1
- set the visible of sprite 3 to 1
- set the visible of sprite 4 to 0
- end case
- end
-
- on getspeed
- return gautospeed
- end
-
- on changemode
- set the visible of sprite 5 to not (the visible of sprite 5)
- end
-
- on isautomode
- return not (the visible of sprite 5)
- end
-
- on ispausemode
- return the visible of sprite 5
- end
-